package com.tangruitao.service.impl;


import com.tangruitao.service.Handler;

/**
 * 这个类的作者是13536
 * 开发日期:2021/12/30
 * 经理级处理者
 **/
public class Magger implements Handler {

    private double salary;

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public Magger(double salary) {
        this.salary = salary;
    }

    @Override
    public String doing() {
        if(salary==50000){
            return "驳回";
        }
        return "同意";
    }

}
